package com.java.jetpackdemo.lifecycles

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.java.jetpackdemo.R
import kotlinx.android.synthetic.main.activity_life_cycles.*

class LifeCyclesActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_life_cycles)
        lifecycle.addObserver(tm_chronometer)
    }
}
